package com.michale.common.domain.permissions;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @Author Michale
 * @Describe 用户与岗位关联表实体类
 */
@Data
@TableName("per_user_post")
@ApiModel(value = "SysUserPost对象", description = "用户与岗位关联表")
public class UserPostEntity implements Serializable{
private static final long serialVersionUID=1L;

    @TableId
    @ApiModelProperty(value = "用户ID")
    private Long userId;

    @ApiModelProperty(value = "岗位ID")
    private Long postId;

}